package com.simpleaccount.Home;

import android.support.v7.widget.AppCompatImageView;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import com.simpleaccount.R;
/**
 * Created by Administrator on 2017/7/11.
 */

public class MyViewHolder extends RecyclerView.ViewHolder{
    TextView tvIncome;
    TextView tvOutcome;
    ImageView ivCategory;

    public MyViewHolder(View itemView) {
        super(itemView);
        tvIncome=(TextView)itemView.findViewById(R.id.tv_income);
        tvOutcome=(TextView)itemView.findViewById(R.id.tv_outcome);
        ivCategory=(ImageView)itemView.findViewById(R.id.iv_category);
    }

    public TextView getTvIncome() {
        return tvIncome;
    }

    public TextView getTvOutcome() {
        return tvOutcome;
    }

    public ImageView getIvCategory() {
        return ivCategory;
    }
}
